﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/PageTemplates/Admin.master" AutoEventWireup="true" CodeFile="ManageFlows.aspx.cs" Inherits="Admin_LCAFlow_ManageFlows" %>
<%@ Register TagPrefix="uc" TagName="FlowSearchFilter" Src="Controls/FlowSearchFilter.ascx" %>
<%@ Register TagPrefix="uc" TagName="FlowList" Src="Controls/FlowList.ascx" %>
<%@ Register TagPrefix="uc" TagName="Paginator" Src="../Common/Controls/Paginator.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MPHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPContent" Runat="Server">
<asp:PlaceHolder ID="plhManageFlows" runat="server">
  <h1>Manage Flows</h1>
  <asp:Panel id="pnlSearchFilter" runat="server">
    <uc:FlowSearchFilter ID="ctlFlowSearchFilter" runat="server" 
      OnSubmitClicked="ctlUserSearchFilter_SubmitClicked"
       />

  </asp:Panel>
  <asp:Panel id="pnlResult" runat="server">
    <uc:FlowList ID="ctlFlowList" runat="server"  />
    <div style="text-align:right;margin-right:10px">
      <uc:Paginator id="ctlPaginator" ShowPageSizeDropDown="true" runat="server" />
    </div>
  </asp:Panel>
<%--
      <uc:UserSearchAdvancedFilter id="ctlUserSearchAdvancedFilter" runat="server" 
      OnSubmitClicked="ctlUserSearchAdvancedFilter_SubmitClicked"
      OnSwitchToSimpleSearchClicked="ctlUserSearchAdvancedFilter_SimpleSearchClicked" />--%>
</asp:PlaceHolder>


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MPFooter" Runat="Server">
    <asp:PlaceHolder ID="plhFooter" runat="server">
    <div class="footer">
      <asp:Button ID="btnDeleteSelected" CssClass="" runat="server" Text="Delete selected items" OnClientClick="return confirmDeleteSelected();" OnClick="btnDeleteSelected_Click" />
      <asp:Button ID="btnCreateNew" CssClass="" runat="server" Text="Create a Flow" OnClick="btnCreateNew_Click"/>
      &nbsp;&nbsp;&nbsp;
      <asp:Button ID="btnNewSearch" CssClass="" runat="server" Text="New search" OnClick="btnNewSearch_Click" />
     
      <script type="text/javascript" src="/Admin/Scripts/LCA/manage_flows.js"></script>
    </div>
  </asp:PlaceHolder>
</asp:Content>

